<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文件上传下载练习</title>
</head>
<body>
<h1>我是文件管理页面</h1>
<p>------------------------------单文件上传-------------------------</p>
<form th:action="@{/uploadFileSingle}" method="post" enctype="multipart/form-data">
   <input type="file" name="single"><br/>
    <input type="submit" value="完成"/>
</form>
<p>------------------------------多文件上传-------------------------</p>
<form th:action="@{/uploadFileArray}" method="post" enctype="multipart/form-data">
    <input type="file" name="files" multiple ><br/>
    <input type="submit" value="完成"/>
</form>
</body>
</html>